package com.hdoit.kylin.logical.proposal.service;

import java.util.List;

import com.tennetcn.common.dao.base.ISuperService;
import com.tennetcn.common.message.DaoBaseException;
import com.hdoit.kylin.logical.proposal.model.Proposal;
import com.hdoit.kylin.logical.viewmodel.ProposalSearch;
/**
 * @author      tanzulie
 * @email       
 * @createtime  2017年08月01日 14:54:18
 * @comment
 */
public interface IProposalService extends ISuperService<Proposal>{

	List<Proposal> queryListByLoginId(String loginId,String groupId,String role);

	String checkRole(String userId);

	int queryCount(ProposalSearch search, String loginId, String role) throws DaoBaseException;

	int queryCountByProposalName(String proposalName, String loginId,
			String role);

	List<Proposal> queryListByProposalName(String proposalName);

}